<?php 
namespace App\Http\Controllers;

use App\Http\Controllers\Controller;

class Wechat extends Controller
{
    public function home(){
        session()->put('users', session()->get('wechat.oauth_user.default'));
        return redirect(config('app.url').'/home/#/');
    }
}